<template>
  <div class="login">
    <Navigation message="UserSystem!"/>
    <div class="body">
      <div class="left">
        <div>
          <ul>
            <li @click="go('/user/employee/login')"><a href="javascript:void(0);">员工登录</a></li>
            <li @click="go('/user/employee/message')"><a href="javascript:void(0);">员工信息</a></li>
          </ul>
        </div>
      </div>
      <div class="right">
        <router-view/>
      </div>
    </div>
  </div>
</template>

<script>
import Navigation from "@/components/portals/Navigation";

export default {
  name: "UserSystem",
  data() {
    return {
      msg: ""
    };
  },
  methods: {
    go: function(path) {
      var host = this.Host;
      this.$router.push({path:path});
    }
  },
  components: { Navigation }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.left {
  display: inline-block;
  width: 20%;
  font-size: 18px;
  height: 100%;
  background-color: rgb(205, 255, 230);
  vertical-align: top;
}
.left li {
  display: flex;
  background-color: chartreuse;
  margin: 5px !important;
}
.right {
  width: 80%;
  height: 100%;
  display: inline-block;
  vertical-align: top;
  font-size: 18px;
  background-color: rgb(204, 235, 235);
}
.right li {
  display: flex;
}
.body {
  position: relative;
  width: 100%;
  height:90%;
  font-size: 0px;
}
.body li {
  margin: 0px;
}
</style>
